package com.shuang.mapper;

import com.shuang.pojo.DbGoods;
import com.shuang.pojo.DbGoodsExample;
import com.shuang.pojo.ExtendDbGoods;
import com.shuang.pojo._ExtendDbGoods;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface DbGoodsMapper {
    int countByExample(DbGoodsExample example);

    int deleteByExample(DbGoodsExample example);

    int deleteByPrimaryKey(Long gId);

    int insert(DbGoods record);

    int insertSelective(DbGoods record);

    List<DbGoods> selectByExample(DbGoodsExample example);

    DbGoods selectByPrimaryKey(Long gId);

    int updateByExampleSelective(@Param("record") DbGoods record, @Param("example") DbGoodsExample example);

    int updateByExample(@Param("record") DbGoods record, @Param("example") DbGoodsExample example);

    int updateByPrimaryKeySelective(DbGoods record);

    int updateByPrimaryKey(DbGoods record);

	List<_ExtendDbGoods> selectExtendByExample(DbGoodsExample example);

	ExtendDbGoods selectExtendByPrimaryKey(Long gId);
}